package cn.wolfcode.p2p.business.mapper;

import org.apache.ibatis.annotations.Param;

import cn.wolfcode.p2p.business.domain.Bid;

public interface BidMapper {

	int insert(Bid record);

	/**
	 * 批量修改某一个借款的所有投标状态
	 * 
	 * @param id
	 * @param bidrequestStateApprovePending1
	 */
	void updateStates(@Param("bidRequestId")Long id, @Param("state")int bidrequestStateApprovePending1);

}